﻿namespace Ro.Common.RoInterface
{
    /// <summary>
    /// 接口定义
    /// 输出至控制台
    /// <para>所有的OutputToConsole均不会产生Rolog输出</para>
    /// </summary>
    public interface IRoOutputToConsole
    {
        /// <summary>
        /// 具有基础性质的console输出
        /// 不具有TR输出
        /// </summary>
        /// <param name="status">语句状态</param>
        /// <param name="outputstring">输出语句</param>
        void OutputConsole(RoLogStatus status, string outputstring);


        /// <summary>
        /// 具有控件操作性质的console输出
        /// 具有TR输出
        /// </summary>
        /// <param name="status">语句状态</param>
        /// <param name="controlName">操作节点名称</param>
        /// <param name="controlId">控件Id</param>
        /// <param name="outputstring">输出语句</param>
        void OutputConsole(RoLogStatus status, string controlName, string controlId, string outputstring);
    }
}
